import {
	Catch,
	ExceptionFilter,
	ArgumentsHost,
	HttpException,
	NotFoundException,
	HttpStatus,
	Logger,
	BadRequestException,
} from '@nestjs/common'

export class generalException extends HttpException {
	private errorCode: number
	// private errorMessage: string
	constructor(response: string | Record<string, any>, status: number) {
		super(response, status)
		this.errorCode = status
		// this.errorMessage = response
	}
}
